package com.muyu.danmo.service;

import java.util.List;

import com.muyu.common.core.domain.Result;
import com.muyu.danmo.domain.DanmoTrainingFavorite;
import com.muyu.danmo.domain.DanmoTrainingInformation;

/**
 * 培训班收藏Service接口
 * 
 * @author kunzong
 * @date 2024-11-27
 */
public interface IDanmoTrainingFavoriteService 
{
    /**
     * 查询培训班收藏
     * 
     * @param id 培训班收藏主键
     * @return 培训班收藏
     */
    public DanmoTrainingFavorite selectDanmoTrainingFavoriteById(Long id);

    /**
     * 查询培训班收藏列表
     * 
     * @param danmoTrainingFavorite 培训班收藏
     * @return 培训班收藏集合
     */
    public List<DanmoTrainingFavorite> selectDanmoTrainingFavoriteList(DanmoTrainingFavorite danmoTrainingFavorite);

    /**
     * 新增培训班收藏
     * 
     * @param danmoTrainingFavorite 培训班收藏
     * @return 结果
     */
    public int insertDanmoTrainingFavorite(DanmoTrainingFavorite danmoTrainingFavorite);

    /**
     * 修改培训班收藏
     * 
     * @param danmoTrainingFavorite 培训班收藏
     * @return 结果
     */
    public int updateDanmoTrainingFavorite(DanmoTrainingFavorite danmoTrainingFavorite);

    /**
     * 批量删除培训班收藏
     * 
     * @param ids 需要删除的培训班收藏主键集合
     * @return 结果
     */
    public int deleteDanmoTrainingFavoriteByIds(Long[] ids);

    /**
     * 删除培训班收藏信息
     * 
     * @param id 培训班收藏主键
     * @return 结果
     */
    public int deleteDanmoTrainingFavoriteById(Long id);

    Result isCollect(Long id);

    /**
     * 查询我收藏的培训班列表
     * @param danmoTrainingInformation
     * @return
     */
    List<DanmoTrainingInformation> selectOtherCollectionDanmoCommunityList(DanmoTrainingInformation danmoTrainingInformation);
}
